import express from 'express';
const loginRouter = express.Router();
import loginCont from './controller';
import userMidd from '../../common/middleware/user'

// 登录
loginRouter.post('/', userMidd.vertifyFields, loginCont.login);

// 测试
loginRouter.post('/test', loginCont.test);

export default loginRouter;
